package com.zjj.learn.designmodel.pattern.adapter.class_adapter;

/** 目标接口类
 *  @author zjj_admin
 *  @date   2022/4/10 14:12
 */
public class SDCardImpl implements SDCard{
    @Override
    public String readFromSD() {
        String msg = "read from SD ：hello";
        return msg;
    }

    @Override
    public void writeToSD(String msg) {
        System.out.println("往SD中写入："+msg);
    }
}
